using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.Hosting;

namespace DDD.Services.Api.IntegrationTests;

public class CustomWebApplicationFactory<TStartup>
: WebApplicationFactory<TStartup>
    where TStartup : class
{
    protected override IHostBuilder CreateHostBuilder()
    {
        return base.CreateHostBuilder()
            .UseEnvironment("Development");
    }
}
